<%--
  Created by IntelliJ IDEA.
  User: MengFanding
  Date: 2017/9/29
  Time: 11:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta name=renderer content=ie-comp>
<title>软途纺织管理平台登录</title>
<link href="css/login.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.8.js"></script>
<script type="text/javascript" src="myjs/login.js"></script>
	<script type="text/javascript" src="myjs/path.js"></script>
<script src="js/yangshi.js"></script>
</head>
<body>

	<div class="login">
		<div class="message">布布恰恰ERP</div>
		<div id="darkbannerwrap"></div>

		<form action='/erp/user/login.do' method="post"
			onsubmit="return C()" id="loginForm">
			<input name="action" value="login" type="hidden"> <input
				name="userName" id='userName' placeholder="用户名" type="text">
			<hr class="hr15">
			<input name='passWord' id="userPwd" placeholder="密 码" type="password">
			<!-- <!--  <label ><input id='zt1' type='radio' name='tj' checked="checked" value="0"><span>主程</span></label>
	   <label ><input id='zt2' type='radio' name='tj' value='1'><span>零售</span></label> -->
			<hr class="hr15">
			<input name="rem"
				style="display: inline; width: 15px; height: 15px; margin: 0;"
				type="checkbox" id="remember" value="true" checked="checked" > <label
				style="font-size: 14px;" for="remember">记住密码</label> <input
				value="登 录" style="width: 100%;" type="submit">
			<div style="color: red; margin-left: 115px;">${errorMsg}</div>
			<hr class="hr20">
		</form>
	</div>

	<div class="copyright">软途信息 &copy; 2017</div>

</body>

<script type="text/javascript">
	

	$.ajax({
		url:path+'/user/toRemember.do',
		async:false,
		dataType : 'json',
		success : function(data) {
			if(data=="1"){
				window.location.href=path+"/bbqq/index.jsp"
			}
		}
	})



	if (window != top) {
		top.location.href = path+"/bbqq/login.jsp";
	}
</script>

</html>